package com.xmz.service.Impl;

import com.xmz.entity.Class;
import com.xmz.mapper.ClassMapper;
import com.xmz.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassServiceImpl implements ClassService {
    @Autowired
    private ClassMapper classMapper;

    @Override
    public List<Class> selectAll() {
        return  classMapper.selectByExample(null);
    }
}
